import { createRouter, createWebHashHistory } from 'vue-router'

const routes = [
  {
    path: '/',
    name: 'index',
    component: () => import('@/views/webIndex.vue'),
  },
  {
    path: '/download',
    name: 'download',
    component: () => import('@/views/down/downLoad.vue'),
  },
  {
    path: '/about',
    name: 'about',
    component: () => import('@/views/about/aboutUs.vue'),
  },
];

const router = createRouter({
    history: createWebHashHistory(),
    // history: createWebHashHistory(import.meta.env.BASE_URL),
    routes,
  })

export default router;